@import "../../../assets/css/utils";

.page-root-cart {
  min-height: 100% !important;
  background-color: #fffaf8;
  padding-top: $headH;
  padding-bottom: (88px)+($tabbar-height) !important;

  &.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .list-goods {

    padding: 20px;

    li {
      background-color: #fff;
      border-radius: 10px;
      margin-bottom: 20px;
      display: flex;
      padding: 0 20px;
      height: 220px;
      align-items: center;
      justify-content: space-between;
    }

    .icon-wrap {
      width: 180px;
      padding: 0 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .name {
      @include ellipsis();
      font-size: 30px;
      color: #2e2e2e;
    }

    .detail {
      display: flex;
      flex-direction: column;
      width: 0;
      flex: 1;
    }

    .remark {
      margin: 12px 0;
      @include ellipsis();
      font-size: 24px;
      color: #999;
    }

    .other-attr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 30px;
      color: #fe7537;
    }

    .price {
      font-size: 30px;
      color: #fe7537;
    }

    .calc-wrap {
      //padding-top: 10px;
      display: flex;
      align-items: center;

      .num {
        padding: 0 10px;
        font-size: 30px;
        color: #2e2e2e;
      }

      .iconfont {
        font-size: 46px;
        color: #999;
        margin: 0 10px;
      }
    }
  }

  .fixed-wrap {
    background-color: #fff;
    display: flex;
    height: 88px;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    padding-left: 40px;

    position: fixed;
    left: 0;
    bottom: $tabbar-height;
    border-bottom: 1px solid #dfdfdf;
    width: 100%;

    .total-btn {
      color: #fff;
      width: 120px;
      height: 56px;
      background-color: #fe7537;
      border-radius: 28px;
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 30px;
    }

    .action-status {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .total {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      color: #666666;
    }

    .total-price {
      font-size: 36px;
      color: #fe7537;
      font-weight: bold;
    }
  }

  .check-icon-group {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .icon-CheckBoxSelected {
      color: #fe7537;
    }

    .iconfont {
      font-size: 44px;
      display: none;
    }

    .icon-CheckBoxSelected {
      display: none;
    }

    .icon-quan {
      color: #c1c4c9;
      display: block;
    }

    &.is-select {
      .icon-CheckBoxSelected {
        display: block;
      }

      .icon-quan {
        display: none;
      }
    }
  }

  .none-data {
    font-size: 36px;
    color: #999;
    text-align: center;
  }
}
